﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Surpass.Repository.Migrations
{
    public partial class uptfw23 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<long>(
                name: "OperatorId",
                table: "WF_Node",
                type: "bigint",
                nullable: false,
                defaultValue: 0L,
                oldClrType: typeof(string),
                oldType: "nvarchar(max)",
                oldNullable: true);

            migrationBuilder.AlterColumn<long>(
                name: "OperatorId",
                table: "WF_FlowRecord",
                type: "bigint",
                nullable: false,
                defaultValue: 0L,
                oldClrType: typeof(string),
                oldType: "nvarchar(max)",
                oldNullable: true);

            migrationBuilder.AlterColumn<long>(
                name: "ToDoerId",
                table: "WF_FlowInstance",
                type: "bigint",
                nullable: false,
                defaultValue: 0L,
                oldClrType: typeof(string),
                oldType: "nvarchar(max)",
                oldNullable: true);

            migrationBuilder.AlterColumn<long>(
                name: "StarterId",
                table: "WF_FlowInstance",
                type: "bigint",
                nullable: false,
                defaultValue: 0L,
                oldClrType: typeof(string),
                oldType: "nvarchar(max)",
                oldNullable: true);

            migrationBuilder.AlterColumn<long>(
                name: "OperatorId",
                table: "WF_FlowInstance",
                type: "bigint",
                nullable: false,
                defaultValue: 0L,
                oldClrType: typeof(string),
                oldType: "nvarchar(max)",
                oldNullable: true);

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9086), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9085) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9135), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9134) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9138), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9136) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_PERMS_CONFIG",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9093), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9091) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_RELATION",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9089), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9088) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9140), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9139) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9143), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9141) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9145), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9144) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M1",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9008), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(7725) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M101",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9083), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9081) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M102",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9148), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9147) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M2",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9061), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9031) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M3",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9065), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9063) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M301",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9150), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9149) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M302",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9152), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9151) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M303",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9327), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9325) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M4",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9069), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9067) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M401",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9329), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9328) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M402",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9332), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9331) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40201",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9334), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9333) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40202",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9337), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9335) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M5",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9072), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9070) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M501",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9339), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9338) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M502",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9342), new DateTime(2021, 11, 13, 8, 46, 25, 821, DateTimeKind.Local).AddTicks(9341) });

            migrationBuilder.UpdateData(
                table: "Sys_Role",
                keyColumn: "RoleId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 820, DateTimeKind.Local).AddTicks(5807), new DateTime(2021, 11, 13, 8, 46, 25, 820, DateTimeKind.Local).AddTicks(5222) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2790), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2789) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2796), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2795) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2798), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2797) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_PERMS_CONFIG", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2793), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2792) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_RELATION", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2792), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2791) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2850), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2848) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2852), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2851) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2854), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2853) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M1", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2610), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2096) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M101", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2788), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2787) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M102", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2856), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2855) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M2", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2777), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2774) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M3", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2780), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2779) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M301", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2858), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2857) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M302", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2860), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2859) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M303", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2863), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2862) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M4", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2782), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2781) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M401", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2864), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2864) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M402", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2866), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2865) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40201", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2868), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2867) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40202", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2870), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2869) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M5", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2784), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2783) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M501", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2872), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2871) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M502", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2873), new DateTime(2021, 11, 13, 8, 46, 25, 822, DateTimeKind.Local).AddTicks(2872) });

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "UserId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 819, DateTimeKind.Local).AddTicks(5163), new DateTime(2021, 11, 13, 8, 46, 25, 819, DateTimeKind.Local).AddTicks(5364) });

            migrationBuilder.UpdateData(
                table: "Sys_User_Role_Relation",
                keyColumns: new[] { "RoleId", "UserId" },
                keyValues: new object[] { 1L, 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 46, 25, 820, DateTimeKind.Local).AddTicks(7421), new DateTime(2021, 11, 13, 8, 46, 25, 820, DateTimeKind.Local).AddTicks(7056) });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<string>(
                name: "OperatorId",
                table: "WF_Node",
                type: "nvarchar(max)",
                nullable: true,
                oldClrType: typeof(long),
                oldType: "bigint");

            migrationBuilder.AlterColumn<string>(
                name: "OperatorId",
                table: "WF_FlowRecord",
                type: "nvarchar(max)",
                nullable: true,
                oldClrType: typeof(long),
                oldType: "bigint");

            migrationBuilder.AlterColumn<string>(
                name: "ToDoerId",
                table: "WF_FlowInstance",
                type: "nvarchar(max)",
                nullable: true,
                oldClrType: typeof(long),
                oldType: "bigint");

            migrationBuilder.AlterColumn<string>(
                name: "StarterId",
                table: "WF_FlowInstance",
                type: "nvarchar(max)",
                nullable: true,
                oldClrType: typeof(long),
                oldType: "bigint");

            migrationBuilder.AlterColumn<string>(
                name: "OperatorId",
                table: "WF_FlowInstance",
                type: "nvarchar(max)",
                nullable: true,
                oldClrType: typeof(long),
                oldType: "bigint");

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4375), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4374) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4384), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4383) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4387), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4385) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_PERMS_CONFIG",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4380), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4379) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_RELATION",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4378), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4376) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4390), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4388) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4392), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4391) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4395), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4393) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M1",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4330), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(2384) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M101",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4372), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4371) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M102",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4397), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4396) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M2",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4354), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4352) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M3",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4358), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4356) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M301",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4400), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4399) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M302",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4403), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4401) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M303",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4406), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4405) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M4",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4361), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4359) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M401",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4409), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4408) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M402",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4412), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4410) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40201",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4414), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4413) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40202",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4417), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4415) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M5",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4364), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4362) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M501",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4419), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4418) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M502",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4422), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(4421) });

            migrationBuilder.UpdateData(
                table: "Sys_Role",
                keyColumn: "RoleId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 961, DateTimeKind.Local).AddTicks(9397), new DateTime(2021, 11, 13, 8, 44, 37, 961, DateTimeKind.Local).AddTicks(8751) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8512), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8511) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8519), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8518) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8521), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8520) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_PERMS_CONFIG", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8516), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8515) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_RELATION", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8514), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8513) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8523), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8522) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8525), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8524) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8526), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8525) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M1", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8330), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(7801) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M101", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8510), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8509) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M102", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8528), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8527) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M2", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8499), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8496) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M3", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8502), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8501) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M301", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8530), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8529) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M302", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8532), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8531) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M303", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8534), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8533) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M4", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8504), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8503) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M401", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8536), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8535) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M402", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8538), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8537) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40201", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8540), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8539) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40202", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8541), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8541) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M5", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8506), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8505) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M501", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8543), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8542) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M502", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8545), new DateTime(2021, 11, 13, 8, 44, 37, 963, DateTimeKind.Local).AddTicks(8544) });

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "UserId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 960, DateTimeKind.Local).AddTicks(4685), new DateTime(2021, 11, 13, 8, 44, 37, 960, DateTimeKind.Local).AddTicks(4889) });

            migrationBuilder.UpdateData(
                table: "Sys_User_Role_Relation",
                keyColumns: new[] { "RoleId", "UserId" },
                keyValues: new object[] { 1L, 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 13, 8, 44, 37, 962, DateTimeKind.Local).AddTicks(1659), new DateTime(2021, 11, 13, 8, 44, 37, 962, DateTimeKind.Local).AddTicks(1148) });
        }
    }
}
